<?php
class AppConfiguration{

	public static $member_top_list = array(
		'50'=>50,
		'100'=>100,
		'200'=>200,
	);
	public static $member_product_list = array(
		'all'=> 'ALL',
	);
	
	public static $member_bycountry_list = array(
		'0'=>'No',
		'1'=>'Yes',
	);
	public static $member_first_login_options = array(
		'0'=>'ALL',
		'1'=>'First Login Edit Profile',
	);
	public static $member_showby_list = array(
		'month' => 'By Month',
		'date' => 'By Date',
		'hour' => 'By Hour',
	);
	public static $country_service = 'services/get_country.php';
	public static $country_stat = array(
		'Africa'=> 'Africa',
		'Asia'=> 'Asia',
		'Europe'=> 'Europe',
		'North America'=> 'North America',
		'South America'=> 'South America',
		'Oceania'=> 'Oceania',
		'Others'=> 'Others',
	);
    public static $service_get_country = 'services/get_country.php';
    public static $video_bitrates = array('200k', '500k', '1500K');
    public static $browsers = array('MSIE 6'=>'MSIE 6', 'MSIE 7'=>'MSIE 7', 'Firefox 3.0'=>'Firefox 3.0');
    public static $os = array('Windows XP'=>'Windows XP', 'Windows Vista'=>'Windows Vista', 'Windows 7'=>'Windows 7', 'Ubuntu'=>'Ubuntu');
	
    public static $frequency_duration_sortby = array(
		'frequency' => 'Frequency',
		'duration' => 'Duration'
	);
    public static $date_month_sortby = array(
		'date' => 'Date',
		'month' => 'Month'
	);
    public static $dateby_list = array(
		'month' => 'By Month',
		'date' => 'By Date'
	);

    public static $top_size = array('10'=>'10', '20'=>'20', '30'=>'30', '40'=>'40', '50'=>'50');
    public static $month_list = array(
		'1' => '1',
        '2' => '2',
        '3' => '3',
        '4' => '4',
        '5' => '5',
        '6' => '6',
        '7' => '7',
        '8' => '8',
        '9' => '9',
        '10' => '10',
        '11' => '11',
        '12' => '12',
	);

    public static $gender_list = array(
		'0' => 'NONE',
        'all' => 'ALL',
        '2' => 'Male',
        '3' => 'Female',
	);

    public static $age_list = array(
		'0' => 'NONE',
		'all' => 'ALL',
        '1' => '<=20',
        '2' => '21-25',
        '3' => '26-30',
        '4' => '31-35',
        '5' => '36-40',
        '6' => '41-45',
        '7' => '46-50',
        '8' => '50+',
	);

    public static $video_subscription_plan = array(
		'free' => 'Free',
		'premium' => 'Premium',
	);

    public static $video_plan_package = array(
		'all' => 'ALL',
        '1' => '24 Hours',
        '2' => 'one week',
        '3' => 'one month',
        '4' => 'three months',
        '5' => 'one year',
	);

    public static $category_list = array(
		'0' => 'NONE',
		'all' => 'ALL',
        'drama' => 'Drama',
        'variety' => 'Variety',
        'foodandtravel' => 'Foodandtravel',
        'lifestyle' => 'Lifestyle',
        'news' => 'News',
        'music' => 'Music',
        'kids' => 'Kids',
        'info' => 'Info',
        'others' => 'Others',
	);

    public static $country_list = array(
		'0' => 'NONE',
        '1' => 'Singapore',
        '2' => 'South Africa',
        '3' => 'South Korea',
        '4' => 'Spain',
        '5' => 'Spratly Islands',
        '6' => 'Sudan',
        '7' => 'Swaziland',
        '8' => 'Sweden',
        '9' => 'Switzerland',
        '10' => 'Syria',
	);

    public static $jq_cfg = array(
        'url'=>'services/get_daily_archive.php',
        'colNames'=>array('Date','Email','Action'),
        'colModel'=>array(
            array('name'=>'date','index'=>'date','width'=>'150','align'=>'center'),
            array('name'=>'name','index'=>'name','width'=>'370'),
            array('name'=>'action','index'=>'action','width'=>'100','align'=>'center','sortable'=>false)
        ),
        'rowNum'=>'10',
        'rowList'=>array(5,10,20,50)
    );

    public static $jq_email = array(
        'url'=>'services/get_daily_emails.php',
        'colNames'=>array('ID', 'Name','Email'),
        'colModel'=>array(
            array('name'=>'id','index'=>'id','width'=>'150'),
            array('name'=>'name','index'=>'name','width'=>'300', 'editable'=>true),
            array('name'=>'email','index'=>'email','width'=>'460', 'editable'=>true,'email'=>true),
        ),
        'rowNum'=>'5',
        'rowList'=>array(5,10,20,50),
		'editurl'=> 'services/edit_daily_emails.php',
		'width'=>'auto',
    );
	
    public static $mod_topnav = array(
        array(
            'title'=>'Membership',
            'children'=>array(
                array(
                    'title'=>'Reg/Active/Confirm Report',
					'url'=>'reg_active_confirm.html',
                ),
                array(
                    'title'=>'Login And Logout Report',
					'url'=>'login_out.html',
                ),
                array(
                    'title'=>'Forget Password Report',
					'url'=>'forget_password.html',
                ),
                array(
                    'title'=>'Edit Profile Report',
					'url'=>'edit_profile.html',
                ),
                array(
                    'title'=>'Members Stat Report',
					'url'=>'members_stat.html',
                ),
            )
        ),
        array(
            'title'=>'myTV+',
            'children'=>array (
                array(
                    'title'=>'Premium Video Viewing Report',
					'url'=> 'video_index.html',
                ),
                array(
                    'title'=>'Video Bitrate Report',
					'url'=>'video_bitrate.html',
                ),
                array(
                    'title'=>'Plan Subscription Report',
					'url'=>'subscription.html',
                ),
                array(
                    'title'=>'Sign-up Diagnostic Report',
					'url'=>'sign.html',
                ),
                array(
                    'title'=>'OS and Browser Report',
					'url'=>'os_browser.html',
                ),
                array(
                    'title'=>'Daily Automated Executive Summary Report',
					'url'=>'daily_summary.html',
                )
            )
        ),
        array(
            'title'=>'Hot Search',
            'children'=>array(
                array(
                    'title'=>'Hot Search Keywords Report',
					'url'=>'hot_search_keyword.html',
                ),
            )
        ),
    );


}
// AC is an alias of AppConfiguration
final class AC extends AppConfiguration{}
?>
